#pragma once
#include <map>

typedef void (*cfgback)(const wchar_t * value,void * param);

class config
{
public:
	config(void);
	~config(void);


	void addconfig(const wchar_t* option,cfgback fn,void * param);

	void doconfig(const wchar_t* filename);

private:
	class configImp;
	configImp* p_imp;

};
